package org.gary.equipment.service;

import java.util.List;

import org.gary.base.model.Image;
import org.gary.core.factories.BasicServiceFactory;
import org.gary.equipment.model.Equipment;

/**
 * 
 * @author lengreen
 *
 */
public interface EquipmentService extends BasicServiceFactory<Equipment> {
	
	/**
	 * 加载关联图片
	 * @param equipmentId
	 * @return
	 */
	public List<Image> loadImages(int equipmentId);
	
	/**
	 * 分页获取设备列表
	 * @param top
	 * @param page
	 * @param lang
	 * @param type
	 * @return
	 */
	public List<Equipment> getEquipmentList(int top,int page,Object lang,int type);
}
